package com.xqls.dal.dao;

import java.util.List;
import java.util.Map;

import com.xqls.dal.model.User;
import com.xqls.dal.model.UserExample;

public interface UserDao {
    boolean insertUser(User user);
    
    boolean updateUser(User user);
    
    boolean updateUserSelective(User user,UserExample example);
    
    boolean deleteUser(String userId);
    
    boolean deleteByExample(UserExample example);
    
    User getLastRecord(String username);
    
    List<User> getListByExample(UserExample example);
    
    List<Map<String, Object>> selectTelByAlarmLevel(Map<String, Object> map);
    
    User selByname(String Username);
}
